|
PASTE SPRITE
This command will paste the sprite image to the screen, at the specified coordinates.
PASTE SPRITE Sprite Number, XPos, YPos
Sprite Number
Integer
Sprite number
XPos
Integer
The command will paste the sprite image to the screen, at the specified x coordinates
YPos
Integer
The command will paste the sprite image to the screen, at the specified y coordinates
This command does not return a value.
The sprite image pasted to the screen is identical to the current state of the sprite, taking into account scaling, flipping and mirroring. The parameters should be specified using integer values.
cls
load image "man.bmp",1
sprite 1,100,100,1
wait 1000*8
do
paste sprite 1,mousex(),mousey()
loop
end
SPRITE Commands Menu
Index
|